mergAVPlayerCreatePeriodicTimeObserver
Type
function
Summary
Observer periodic times while a player is playing and send a custom message to the contol that created the player
Syntax
mergAVPlayerCreatePeriodicTimeObserver(<pPlayerPointer>, <pTime>, <pCallback>)
Description
The message is also invoked whenever time jumps and whenever playback starts or stops. If the interval corresponds to a very short interval in real time, the player may invoke the block less frequently than requested. Even so, the player will invoke the block sufficiently often for the app to update indications of the current time appropriately in its end-user interface.
Parameters
Name | Type | Description |
---|---|---|
pPlayerPointer | a pointer to the player in memory | |
pTime | a time in milliseconds. | |
pCallback | a callback message to send when the player reaches the periodic time. The message has two parameters:|the pointer for the player|time in milliseconds. |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
mac
Platforms
desktop
mobile